This condition can't actually be hit, let's hint that's the case.
https://bugzilla.gnome.org/show_bug.cgi?id=732020
gsize unpacked_size = 0;
gboolean indexable = FALSE;
+ g_return_val_if_fail (expected_checksum || out_csum, FALSE);
+
if (g_cancellable_set_error_if_cancelled (cancellable, error))
return FALSE;
- g_assert (expected_checksum || out_csum);
-
if (expected_checksum)
{
if (!_ostree_repo_has_loose_object (self, expected_checksum, objtype,
goto out;
}
}
+
+ g_assert (actual_checksum != NULL); /* Pacify static analysis */
if (indexable)
{